package edu.hubu.book.utils;

import org.springframework.stereotype.Component;

import java.util.UUID;

/**
 * 产生随机字符串工具类
 */
@Component("codeUtil")
public final class CodeUtil {
	private CodeUtil(){}
	public static String getUuid(){
		return UUID.randomUUID().toString().replace("-","");
	}

}
